package com.guanjia.entity.vo;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

/**
 * 众筹交易记录
 */
@TableName("crowd_deal")
public class CrowdDeal {
    @TableId(type=IdType.AUTO)
    private Integer id;
    private Integer user_id;  //众筹投资着id
    private Integer crowd_id; //众筹项目id
    private double money;
    @TableField(value = "createtime",fill = FieldFill.INSERT)
    private Date createtime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Integer getCrowd_id() {
        return crowd_id;
    }

    public void setCrowd_id(Integer crowd_id) {
        this.crowd_id = crowd_id;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
}
